const {src,dest,watch} = require("gulp");
const sass = require("gulp-sass")(require("sass"));

exports.watchWWW = function(){
    // 编译sass
    watch("./www/sass/*.scss", function(){
        return src("./www/sass/*.scss")
                .pipe(sass().on("error", sass.logError))
                .pipe(dest("./dist/css"))
    })
 
  
}

